<?php
/**
 * Created by JetBrains PhpStorm.
 * User: T420
 * Date: 9/27/12
 * Time: 11:08 PM
 * To change this template use File | Settings | File Templates.
 */
class Models_Register extends Libs_Model
{
    public function __construct()
    {
        parent::__construct();
    }
    public function insertuser($username,$password,$fullname,$birthday,$phone,$email,$address)
    {
        $this->db->connect();
        $password=md5($password);
        $this->db->queryinsert("insert lb_users(username,password,fullname,birthday,phone,email,address) values
        ('$username','$password','$fullname','$birthday','$phone','$email','$address')");
        $this->db->disconnect();
    }
}
